<template>
  <!-- 公共底部 -->
  <div class="common-footer">
    <div class="f-wrap">
        <div class="f-left">
          <img class="f-left-img" src="../assets/images/f-head.png" />
          <p class="f-left-text">立即联系营销顾问，开启合作</p>
        </div>
        <div class="f-right">
          <div class="f-right-ewm">
            <img src="../assets/images/big-scan.png" />
            <p class="text">扫描二维码联系合作</p>
          </div>
          <div class="f-right-list">
            <p>客服咨询：达达小二</p>
            <p>微信号：xiaqq54188</p>
            <!-- <p>邮箱地址：guanff@yutongxian.com</p> -->
          </div>
        </div>
    </div>
    <div class="copy-right-link">
      <ul class="link-item">
        <li>© CopyRight 2020</li>
        <li>|</li>
        <li><router-link to="/" target="_blank">伙达 hdtun.com</router-link></li>
        <li>|</li>
        <li>沪ICP备15002721号-1</li>
        <li>|</li>
        <li @click="jump(1)"><a href="javascript:;">帮助中心</a></li>
        <li>|</li>
        <li @click="jump(2)"><a href="javascript:;">关于我们</a></li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  components: {
  },
  methods: {
    jump (index) {
      switch (index){
        case 1:
          this.go('/help')
          break;
        case 2:
          this.go('/help/about')
          break;
      }
    }
  }
}
</script>

<style scoped>
  .common-footer {
    background:linear-gradient(0deg,rgba(92,100,255,1) 1%,rgba(136,141,251,1) 100%);
  }
  .f-wrap {
   width: 100%;
   height: 360px;
   min-width: 1200px;
   display: flex;
   align-items: center;
   justify-content: center;
  }
  .f-left {
    height: 245px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #fff;
    padding-right: 135px;
  }
  .f-left-img {
    width: 189px;
    height: 31px;
    margin: 0 auto;
  }
  .f-left-text {
    font-size: 24px;
    color: #fefefe;
    margin-top: 18px;
  }
  .f-right {
    margin-left: 135px;
    display: flex;
    align-items: center;
  }
  .f-right-ewm {
    text-align: center;
    width: 140px;
  }
  .f-right-ewm img {
    width: 140px;
    height: 140px;
  }
  .f-right-ewm .text {
    font-size: 14px;
    color: #fefefe;
    margin-top: 8px;
  }
  .f-right-list {
    margin-left: 30px;
    margin-bottom: 10px;
  }
  .f-right-list p {
    color: #fefefe;
    font-size: 18px;
    line-height: 1.8;
  }
  .copy-right-link {
    width:800px;
    height:20px;
    margin:0 auto;
    color:#d2d4fe;
    padding-bottom:40px;
    cursor: pointer;
    font-size: 16px;
  }
  .link-item {
    display:flex;
  }
  .link-item li {
    margin:0 7px;
  }
  .link-item li a {
    color:#d2d4fe;
  }
  .link-item li a:hover {
    color:#ffffff;
  }
  .link-item li:nth-child(even) {
    overflow: hidden;
  }
</style>
